/** 
数据库
 **/
package com.centon.auto_code.project.controller;

import com.centon.auto_code.project.service.ProTableService;
import com.centon.auto_code.project.vo.ProTableVo;
import com.centon.auto_code.vo.BaseRes;
import java.util.List;
import javax.annotation.Title;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.validation.BindingResult;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/protable")
public class ProTableController {



    @Autowired
    private ProTableService proTableService;



    /**
     * @gen_404_lwl
     * 获取数据库表
     * 获取数据库表
     * @param proTableVo
    **/
    @Title("获取数据库表")
    @ResponseBody
    @RequestMapping(value="/querytable", method=RequestMethod.POST)
    public BaseRes<List<ProTableVo>> queryTable(@RequestBody ProTableVo proTableVo, BindingResult bindingResult) {
        return proTableService.queryTable(proTableVo);
    }
}